<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
</head>
<body>
	<div style=" height:300px; line-height:63px" align="center" >
		<h1>用户注册</h1>
		<form action="<%=request.getContextPath() %>/UsersServlet" method="post">
			用户名：<input name="username" type="text"/><br>
			昵称：<input name="nickname" type="text"/><br>  
			密码：<input name="password" type="password"/><br> 
			<input name="submittype" type="submit" value="注册"/>
			<input name="submittype" type="reset" value="重置"/>
  	   </form>
  	   <form action="<%=request.getContextPath() %>/user/login.jsp" method="post">
			<input name="submittype" type="submit" value="返回"/>
  	   </form>
  	   <p>${error}</p>
	</div>
</body>
</html>